#include<bits/stdc++.h>
using namespace std;
int n,a[100005],flse[100005],z;
int main(){
    freopen("duel.in","r",stdin);
    freopen("duel.out","w",stdout);
    cin>>n;
    for(int i=1;i<=n;i++){
        cin>>a[i];
    }
    z=n;
    sort(a+1,a+n+1);
    for(int i=1;i<=n;i++){
        for(int j=i;j<=n;j++){
            if(a[i]<a[j]&&flse[j]!=1){
                flse[j]=1;
                j=n;
                z--;
            }
        }
    }
    cout<<z<<endl;
    return 0;
}